package com.rms.recruit_management_system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rms.recruit_management_system.vo.InterviewFeedbackVo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface InterviewFeedbackVoMapper extends BaseMapper<InterviewFeedbackVo> {

    @Select("select ife.*,iv.candidate_name,iv.position_name,iv.name from interview_feedback ife join interview iv on ife.interview_id = iv.id")
    IPage<InterviewFeedbackVo> getInterviewFeedbackVoList(Page<InterviewFeedbackVo> page);
}
